From cecdcf59c4d677b3d6960e3789795df0fc20e370 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 9 Aug 2010 16:39:09 +0100 Subject: [PATCH] cpupool: correct removing cpu from cpupool Corrects an error introduced with cs 21422. Without the patch my machine crashed when removing a cpu from a cpupool other than Pool-0. Signed-off-by: Juergen Gross --- xen/common/schedule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/schedule.c b/xen/common/schedule.c index 497da1862c..779ad1930f 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -1313,7 +1313,7 @@ void schedule_cpu_switch(unsigned int cpu, struct cpupool *c) spin_unlock_irqrestore(per_cpu(schedule_data, cpu).schedule_lock, flags); - SCHED_OP(old_ops, free_vdata, vpriv); + SCHED_OP(old_ops, free_vdata, vpriv_old); SCHED_OP(old_ops, free_pdata, ppriv_old, cpu); } -- 2.30.2